package com.wander.patterns.act.observer;

import lombok.Data;

/**
 * @description:
 * @author: zhuyong
 * @create: 2019-09-11 17:10
 **/
@Data
public class ConcreteSubject extends Subject{

    int status;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
        this.notifyObservers();
    }
}
